//
//  AppDelegate.swift
//  Swift weibo
//
//  Created by 美食家 on 16/10/7.
//  Copyright © 2016年 不孤独的美食家. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        window=UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor=UIColor.white
        window?.rootViewController=MainViewController()
        window?.makeKeyAndVisible()
        return true
    }
}

func LHLog<M>(message: M, fileName: String = #file, methodName:String = #function, lineNumber: Int = #line) {
    #if DEBUG
        print("\(methodName)[\(lineNumber)]:\(message)")
    #endif
}



